<template>
  <div class="empty">
    <span @click="ok">原始6</span>
    <el-botton @click="jump()">进入</el-botton>
    <iframe scrolling="no" height="850px" width="100%" :src="path"></iframe>
  </div>
</template>
<script>
export default {
  data() {
    return {
      data: [
        "http://10.1.194.214:6868/login?code=FAAC6294FF5BFB57577F8264B4BE5DF3B312EAE6249195DA17B2F09F553B3FDC",
        "http://10.1.194.214:6868/login?code=FAAC6294FF5BFB57577F8264B4BE5DF32A153B64366A7B76A71E5E8E9940297F",
        "http://10.1.194.214:6868/login?code=CE6B86B7CECE1D64C29942E922A6B13005FEDDAD1A0BFC6E8E07F66BB1D0EC5C",
        "http://10.1.194.214:6868/login?code=EFFCF52FA5EE634C82D955B30DD925CAA968FD78D2407CAD7C01016C994E411D",
        "http://10.1.194.214:6868/login?code=EFFCF52FA5EE634C82D955B30DD925CA23393B1098FEF7B25E5053B2AB3886DD",
        "http://10.1.194.214:6868/login?code=EFFCF52FA5EE634C82D955B30DD925CA7A71BC2AB0F8E21E815FC315BF000B11",
        "http://10.1.194.214:6868/login?code=EFFCF52FA5EE634C82D955B30DD925CA8BEE5532FE8F7489A4A702B5E5E17FD2",
        "http://10.1.194.214:6868/login?code=7323C6F2BC2CB62773599BC1FFA9449357B34E3533C34E874EABC195B1D93027"
      ],
      path:
        "http://10.1.194.214:6868/login?code=5EAA935265C78F05E1D3330F8E7A84FE179A6D4A52BEF853EEC7D848B07291A4"
      // path: 'http://10.1.194.214:6868/login?code=5EAA935265C78F05E1D3330F8E7A84FE179A6D4A52BEF853EEC7'
    };
  },
  methods: {
    ok() {
      this.path =
        "http://10.1.194.214:6868/login?code=5EAA935265C78F05E1D3330F8E7A84FE179A6D4A52BEF853EEC7D848B07291A4";
    },
    jump() {
      Math.ceil(Math.random() * 5);
      this.path = this.data[Math.ceil(Math.random() * 5)];
      // console.log(this.path, 'this.path ')
    }
  },
  mounted() {}
};
</script>
<style lang="scss" scoped>
@import "../../assets/style/variable.scss";
.empty {
  span {
    padding: 20px;
  }
}
</style>
